package com.glink.manage.dto.mqtt;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * 车辆道闸-心跳
 * @Author : qiushaoshan
 * @create 2025/2/8 14:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CarBarrierGateHeartDTO implements Serializable {

    private static final long serialVersionUID = -6885494688938846218L;

    @ApiModelProperty(name = "cmd", notes = "命令（boot_reg表示设备注册）")
    private String cmd;

    @ApiModelProperty(name = "msg_id", notes = "消息 ID（此次请求的唯一标识，20 位长，前 13 位是毫秒时间，后 7 位是字母和数字的随机数）")
    private String msg_id;

    @ApiModelProperty(name = "sn", notes = "相机sn码")
    private String sn;

    @ApiModelProperty(name = "device_name", notes = "相机设备标识")
    private String device_name;

    @ApiModelProperty(name = "product_secret", notes = "相机设备类型标识")
    private String product_secret;
}
